﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="TransportCompanyList.aspx.cs" Inherits="Ewts.BaseData.TransportCompanyList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">

<h2 style="text-align:center; font-size:14px; height=45px;">运 输 公 司</h2>
<br />
    <asp:Repeater ID="reptTrans" runat="server">
        <HeaderTemplate>
            <table id="tbTrans" width="100%" cellpadding="0" cellspacing="0" border="1">
                <thead>
                    <tr>
                     
                        <th>运输公司名称</th>
                        <th>联系人</th>
                        <th>联系电话</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
        </HeaderTemplate>
        <ItemTemplate>
                    <tr>
                     <%--   <td><%# GetCustName(Eval("customerid").ToString())%></td>--%>
                        <td><%# Eval("companyname")%></td>
                        <td><%# Eval("linkman")%></td>
                        <td><%# Eval("phone")%></td>
                        <td>
                            <a href="TransportCompanyShow.aspx?id=<%# Eval("id")%>">详细</a>
                            <a href="TransportCompanyModify.aspx?id=<%# Eval("id")%>">编辑</a>
                        </td>
                    </tr>
        </ItemTemplate>
        <FooterTemplate>
                </tbody>
            </table>
        </FooterTemplate>
    </asp:Repeater>


<script type="text/javascript">

    $(document).ready(function () {

        $('#tbTrans').dataTable({ "oLanguage":
                { "sUrl": "/jquery/jquery.dataTable.cn.txt" },

            "iDisplayLength": 10,
            "bSort": true,

            "aaSorting": [[0, "asc"]]
        });

    });
 
</script>
</asp:Content>
